<?php /* Smarty version Smarty-3.1.11, created on 2013-03-14 11:29:43
         compiled from "./smarty/templates/error.tpl" */ ?>
<?php /*%%SmartyHeaderCode:9203272095141b4a79753f4-90012253%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c97e42bca3be2342c218d2a46084427da1f146d5' => 
    array (
      0 => './smarty/templates/error.tpl',
      1 => 1361446103,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '9203272095141b4a79753f4-90012253',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'error' => 0,
    'currentPage' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_5141b4a7992945_54268521',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5141b4a7992945_54268521')) {function content_5141b4a7992945_54268521($_smarty_tpl) {?><html>
    <head>
        <title>Error page</title>
    </head>
    <body>
        <div style="padding: 10px;" >
            <?php if (isset($_smarty_tpl->tpl_vars['error']->value)){?>
                <h3><?php echo $_smarty_tpl->tpl_vars['error']->value;?>
</h3>
            <?php }else{ ?>
                <h3>An error occured. Please try searching again.</h3>
            <?php }?>
            
            <?php if (isset($_smarty_tpl->tpl_vars['currentPage']->value)){?>
                <a href="<?php echo $_smarty_tpl->tpl_vars['currentPage']->value;?>
">Go back to the previous page</a>
            <?php }else{ ?>
                <a href="./index.php">Go back to search page</a>
            <?php }?>
        </div>
    </body>
</html><?php }} ?>